package com.lening.security.service.impl;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.security.dao.PlanDAO;
import com.lening.security.dto.PlanDTO;
import com.lening.security.po.PlanPO;
import com.lening.security.service.IPlanService;
import com.lening.common.base.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 赵子豪
 * @date 2024年06月04日 08时58分30秒
 * 巡检计划
 */
@Slf4j
@Service
public class PlanServiceImpl extends BaseServiceImpl<PlanDAO, PlanPO, PlanDTO> implements IPlanService {
    @Autowired
    private PlanDAO planDAO;

    @Override
    public Page<PlanDTO> planspage(PlanDTO planDTO) {
        return planDAO.planspage(planDTO);
    }
    //记录
    @Override
    public Page<PlanDTO> planssrecordpage(PlanDTO planDTO) {
        return planDAO.planssrecordpage(planDTO);
    }

    @Override
    public Page<PlanDTO> get(PlanDTO planDTO) {
        return planDAO.get(planDTO);
    }
}